Skip to content

Conversation

@OlivellaO
Copy link
Collaborator

@OlivellaO OlivellaO commented Oct 24, 2025

Issue

What was done in this PR:

  1. Adding new View for large Documents preview files.
  2. Extract header part from WireCellsDocumentAttachmentPreview into a new reusable View.

Testing

Using a version that has Wire Cells enabled send a single document file on a chat.
When single document is shared, large document preview should be shown.

UI test can't be done, no way of mocking AsyncImage.


Checklist

  • Title contains a reference JIRA issue number like [WPB-XXX].
  • Description is filled and free of optional paragraphs.
  • Adds/updates automated tests.

UI accessibility checklist

If your PR includes UI changes, please utilize this checklist:

  • Make sure you use the API for UI elements that support large fonts.
  • All colors are taken from WireDesign.ColorTheme or constructed using WireDesign.BaseColorPalette.
  • New UI elements have Accessibility strings for VoiceOver.

@github-actions
Copy link
Contributor

github-actions bot commented Oct 24, 2025

Test Results

396 tests   395 ✅  1m 13s ⏱️
 94 suites    1 💤
  3 files      0 ❌

Results for commit 91c7d88.

♻️ This comment has been updated with latest results.

@OlivellaO OlivellaO force-pushed the feature/large-document-previews branch from f37c449 to 374b0b3 Compare October 24, 2025 10:41
Copy link
Contributor

@samwyndham samwyndham left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work! I will approve after @WilhelmOks comments are addressed

@OlivellaO OlivellaO force-pushed the feature/large-document-previews branch 2 times, most recently from 868bd41 to dfe0f9b Compare October 27, 2025 14:34
@OlivellaO OlivellaO force-pushed the feature/large-document-previews branch 2 times, most recently from da4e84a to 241bc1d Compare October 28, 2025 09:03
Copy link
Contributor

@samwyndham samwyndham left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work!

@OlivellaO OlivellaO force-pushed the feature/large-document-previews branch from 241bc1d to 579ff4e Compare October 28, 2025 12:01
@OlivellaO OlivellaO force-pushed the feature/large-document-previews branch 4 times, most recently from 9f9baa7 to 99cbb32 Compare November 4, 2025 11:03
@OlivellaO OlivellaO force-pushed the feature/large-document-previews branch 3 times, most recently from 87f997e to 999d769 Compare November 10, 2025 13:23
@OlivellaO OlivellaO added this pull request to the merge queue Nov 11, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Nov 11, 2025
@OlivellaO OlivellaO added this pull request to the merge queue Nov 11, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Nov 11, 2025
@OlivellaO OlivellaO force-pushed the feature/large-document-previews branch from 999d769 to 91c7d88 Compare November 11, 2025 11:24
@OlivellaO OlivellaO enabled auto-merge November 11, 2025 11:25
@OlivellaO OlivellaO added this pull request to the merge queue Nov 11, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Nov 11, 2025
@OlivellaO OlivellaO added this pull request to the merge queue Nov 11, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Nov 11, 2025
@OlivellaO OlivellaO added this pull request to the merge queue Nov 11, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Nov 11, 2025
@OlivellaO OlivellaO added this pull request to the merge queue Nov 12, 2025
Merged via the queue into develop with commit 010c152 Nov 12, 2025
11 checks passed
@OlivellaO OlivellaO deleted the feature/large-document-previews branch November 12, 2025 09:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants